package pl.bizuteria.sklep.admin.client;

import pl.bizuteria.sklep.admin.client.ui.simple.TopBarView;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;

public class DesktopShell extends Composite {

	private static DesktopShellUiBinder uiBinder = GWT
			.create(DesktopShellUiBinder.class);

	interface DesktopShellUiBinder extends UiBinder<Widget, DesktopShell> {
	}

	@UiField(provided = true)
	TopBarView topBarView;

	@UiField
	SimplePanel simplePanel;

	@Inject
	public DesktopShell(TopBarView topBarView) {
		this.topBarView = topBarView;
		initWidget(uiBinder.createAndBindUi(this));
	}

}
